package com.silp.baitap1;

public class baitap3 {
	public static void main(String[] args) {
		
		int sum=0;
		int i;
		/*for (i=1;i<1000;i+=2){
			sum=sum+i;
			System.out.println(i);
				if(sum<100){
					break;
				}
		}*/
		for (i=1;i<1000;i+=2){
		sum=sum+i;
		System.out.println(i);
			if(sum==100){
				break;
			}
	}
	}

}
